// 头部app下载部分
.appdownload {
    // width: 100%;
    height: 80px;
    padding: 10px;
    background-color: #666;
    position: relative;
    overflow: hidden;

    .applogo {
        img {
            display: block;
            width: 70px;
            height: 70px;
            float: left;
        }
    }

    .app_txt {
        color: #fff;
        font-size: 16px;
        padding-left: 10px;
        float: left;

        .sub_txt {
            color: #fee6c2;
            font-size: 12px;
            line-height: 20px;
        }
    }

    .app_btn {
        .app_close {
            display: block;
            position: absolute;
            top: 10px;
            right: 10px;
            width: 20px;
            height: 20px;
            background: url("../images/icon-colse3.png")
        }

        .a-install {
            display: block;
            width: 80px;
            height: 30px;
            line-height: 30px;
            background-color: #f41e75;
            border-radius: 5px;
            position: absolute;
            bottom: 10px;
            right: 10px;
            color: #fff;
            text-align: center;
        }
    }
}

//头部静态部分
.header {
    width: 100%;
    height: 45px;
    background-image: linear-gradient(to right, rgb(114, 83, 248), rgb(189, 65, 190));

    .header_logo {
        float: left;
        width: 200px;
        height: 50px;
        background: url("../images/header_logo.png") no-repeat;
        background-size: 185px 25px;
        background-position: 12px 10px;
    }

    .header_app {
        float: right;
        display: block;
        margin-right: 10px;
        margin-top: 5px;

        img {
            width: 34px;
            height: 34px;
        }
    }
}

//搜索框部分
.search {
    height: 40px;

    >form {
        line-height: 40px;
        padding-left: 20px;
        padding-right: 90px;
        position: relative;

        >i {
            display: block;
            width: 30px;
            height: 30px;
            background: url("../images/icon-search.png") no-repeat;
            position: absolute;
            top: 6px;
            left: 22px;
        }

        >input {
            width: 100%;
            border: 1px solid #ccc;
            float: left;
            height: 30px;
            border-radius: 15px;
            padding-left: 30px;
        }
    }

    >input {
        width: 70px;
        height: 30px;
        line-height: 30px;
        background-color: #7154f8;
        color: #fff;
        border-radius: 15px;
        float: right;
        margin-right: 10px;
    }
}

//导航栏部分
.nav {
    padding: 10px;

    >ul {
        width: 100%;
        height: 176px;
        overflow: hidden;

        >li {
            width: 25%;
            float: left;

            >a {
                display: block;
                text-align: center;

                >img {
                    width: 60%;
                }

                >p {
                    margin-top: 10px;
                    margin-bottom: 5px;
                }
            }
        }
    }
}

//折扣栏
.Discount {
    height: 40px;
    padding: 0 15px;
    background-image: linear-gradient(to right, rgb(255, 31, 81), rgb(255, 121, 64));

    >span {
        float: left;
        line-height: 40px;
        color: #fff;
    }

    >a {
        display: block;
        float: right;
        margin-top: 5px;

        >img {
            width: 30px;
            height: 30px;
        }
    }
}

//折扣商品
.products {
    .products-list {
        >ul {
            padding: 14px 8px;  

            >li {
                position: relative;

                img {
                    position: absolute;
                    top: 0;
                    left: 0;
                    display: block;
                    width: 100px;
                    height: 100px;
                }

                .t-contents {
                    display: block;
                    height: 110px;
                    position: relative;
                    padding-left: 120px;
                    padding-top: 5px;
                    .title {
                        font-size: 12px;
                        >i {
                            color: #d8505c;
                        }
                    }

                    .mall {
                        position: absolute;
                        float: left;
                        top: 80px;
                        left: 130px;
                        color: #a1a1a1;
                        font-size: 12px;
                    }

                    .comment {
                        position: absolute;
                        right: 10px;
                        bottom: 13px;
                        font-size: 12px;
                        >i{
                            display: inline-block;
                            vertical-align: middle;
                            width: 16px;
                            height: 17px;
                            margin-right: 4px;
                            background-size: auto 100%;
                            background: url("../images/pinlun-bg1.png") no-repeat;
                        }
                    }
                }
            }
        }
    }
}

//更多优惠
.more-bar{
    padding: 0 20px;
    margin-bottom: 10px;
    >a{
        display: block;
        height: 30px;
        line-height: 30px;
        background-image: linear-gradient(to right,rgb(114, 84, 248),rgb(183, 66, 196));
        border-radius: 4px;
        color: #fff;
        text-align: center;
    }
}

//底部导航
.bottom_nav{
    margin-top: 10px;
    height: 34px;
    display: flex;
    border-top: 1px solid #c4c4c4;
    border-bottom: 1px solid #c4c4c4;
    background-image: linear-gradient(to right,rgb(255, 31, 81),rgb(255, 122, 63));
    >a{
        display: block;
        flex: 1;
        color: #fff;
        font-size: 14px;
        text-align: center;
        line-height: 34px;
        box-sizing: border-box;
    }
    >a:nth-of-type(2){
        border-left: 1px solid #c4c4c4; 
        border-right: 1px solid #c4c4c4; 
    }
}

//页尾
.footer{
    text-align: center;
    color: #666;
    >p:nth-of-type(1){
        line-height: 60px;
        >a{
            color: #d8505c;
        }
    }
    >p:nth-of-type(2){
        margin-bottom: 30px;
    }
}